package cc.comac.mom.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseEntity;
import lombok.Data;
@Data
@TableName("equip_part_borrow_demand")
public class EquipPartBorrowDemandEntity extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@TableId(value = "borrow_demand_id",type = IdType.INPUT)
	@TableField("borrow_demand_id")
	private long id;
	
	private String borrowStyle;
	
	private String relationNumber;
	private String devNumber;
	private String devName;
	private String userDepartment;
	private long sparePartId;
	private String sparePartNumber;
	private String sparePartName;
	private String sparePartModel;
	private BigDecimal applyQuantity;
	private BigDecimal borrowQuantity;
	private BigDecimal remainingQuantity;
	private String applyUser;
	private String jobNumber;
	private String remark;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date applyTime;
	private String borrowDemandStatus;
}
